﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001EB RID: 491
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChangeStoryLineFinishScNotify : IMessage<ChangeStoryLineFinishScNotify>, IMessage, IEquatable<ChangeStoryLineFinishScNotify>, IDeepCloneable<ChangeStoryLineFinishScNotify>, IBufferMessage
	{
		// Token: 0x17000674 RID: 1652
		// (get) Token: 0x0600162A RID: 5674 RVA: 0x0003F077 File Offset: 0x0003D277
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChangeStoryLineFinishScNotify> Parser
		{
			get
			{
				return ChangeStoryLineFinishScNotify._parser;
			}
		}

		// Token: 0x17000675 RID: 1653
		// (get) Token: 0x0600162B RID: 5675 RVA: 0x0003F07E File Offset: 0x0003D27E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChangeStoryLineFinishScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000676 RID: 1654
		// (get) Token: 0x0600162C RID: 5676 RVA: 0x0003F090 File Offset: 0x0003D290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChangeStoryLineFinishScNotify.Descriptor;
			}
		}

		// Token: 0x0600162D RID: 5677 RVA: 0x0003F097 File Offset: 0x0003D297
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChangeStoryLineFinishScNotify()
		{
		}

		// Token: 0x0600162E RID: 5678 RVA: 0x0003F0A0 File Offset: 0x0003D2A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChangeStoryLineFinishScNotify(ChangeStoryLineFinishScNotify other) : this()
		{
			this.nBBLPKAOJAM_ = other.nBBLPKAOJAM_;
			this.curStoryLineId_ = other.curStoryLineId_;
			this.action_ = other.action_;
			this.lIJOCCOFCDL_ = other.lIJOCCOFCDL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600162F RID: 5679 RVA: 0x0003F0F4 File Offset: 0x0003D2F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChangeStoryLineFinishScNotify Clone()
		{
			return new ChangeStoryLineFinishScNotify(this);
		}

		// Token: 0x17000677 RID: 1655
		// (get) Token: 0x06001630 RID: 5680 RVA: 0x0003F0FC File Offset: 0x0003D2FC
		// (set) Token: 0x06001631 RID: 5681 RVA: 0x0003F104 File Offset: 0x0003D304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NBBLPKAOJAM
		{
			get
			{
				return this.nBBLPKAOJAM_;
			}
			set
			{
				this.nBBLPKAOJAM_ = value;
			}
		}

		// Token: 0x17000678 RID: 1656
		// (get) Token: 0x06001632 RID: 5682 RVA: 0x0003F10D File Offset: 0x0003D30D
		// (set) Token: 0x06001633 RID: 5683 RVA: 0x0003F115 File Offset: 0x0003D315
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurStoryLineId
		{
			get
			{
				return this.curStoryLineId_;
			}
			set
			{
				this.curStoryLineId_ = value;
			}
		}

		// Token: 0x17000679 RID: 1657
		// (get) Token: 0x06001634 RID: 5684 RVA: 0x0003F11E File Offset: 0x0003D31E
		// (set) Token: 0x06001635 RID: 5685 RVA: 0x0003F126 File Offset: 0x0003D326
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChangeStoryLineAction Action
		{
			get
			{
				return this.action_;
			}
			set
			{
				this.action_ = value;
			}
		}

		// Token: 0x1700067A RID: 1658
		// (get) Token: 0x06001636 RID: 5686 RVA: 0x0003F12F File Offset: 0x0003D32F
		// (set) Token: 0x06001637 RID: 5687 RVA: 0x0003F137 File Offset: 0x0003D337
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool LIJOCCOFCDL
		{
			get
			{
				return this.lIJOCCOFCDL_;
			}
			set
			{
				this.lIJOCCOFCDL_ = value;
			}
		}

		// Token: 0x06001638 RID: 5688 RVA: 0x0003F140 File Offset: 0x0003D340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChangeStoryLineFinishScNotify);
		}

		// Token: 0x06001639 RID: 5689 RVA: 0x0003F150 File Offset: 0x0003D350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChangeStoryLineFinishScNotify other)
		{
			return other != null && (other == this || (this.NBBLPKAOJAM == other.NBBLPKAOJAM && this.CurStoryLineId == other.CurStoryLineId && this.Action == other.Action && this.LIJOCCOFCDL == other.LIJOCCOFCDL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600163A RID: 5690 RVA: 0x0003F1BC File Offset: 0x0003D3BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NBBLPKAOJAM != 0U)
			{
				num ^= this.NBBLPKAOJAM.GetHashCode();
			}
			if (this.CurStoryLineId != 0U)
			{
				num ^= this.CurStoryLineId.GetHashCode();
			}
			if (this.Action != ChangeStoryLineAction.None)
			{
				num ^= this.Action.GetHashCode();
			}
			if (this.LIJOCCOFCDL)
			{
				num ^= this.LIJOCCOFCDL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600163B RID: 5691 RVA: 0x0003F24C File Offset: 0x0003D44C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600163C RID: 5692 RVA: 0x0003F254 File Offset: 0x0003D454
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600163D RID: 5693 RVA: 0x0003F260 File Offset: 0x0003D460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Action != ChangeStoryLineAction.None)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.Action);
			}
			if (this.CurStoryLineId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.CurStoryLineId);
			}
			if (this.NBBLPKAOJAM != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.NBBLPKAOJAM);
			}
			if (this.LIJOCCOFCDL)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.LIJOCCOFCDL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600163E RID: 5694 RVA: 0x0003F2F4 File Offset: 0x0003D4F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NBBLPKAOJAM != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NBBLPKAOJAM);
			}
			if (this.CurStoryLineId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurStoryLineId);
			}
			if (this.Action != ChangeStoryLineAction.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Action);
			}
			if (this.LIJOCCOFCDL)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600163F RID: 5695 RVA: 0x0003F370 File Offset: 0x0003D570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChangeStoryLineFinishScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NBBLPKAOJAM != 0U)
			{
				this.NBBLPKAOJAM = other.NBBLPKAOJAM;
			}
			if (other.CurStoryLineId != 0U)
			{
				this.CurStoryLineId = other.CurStoryLineId;
			}
			if (other.Action != ChangeStoryLineAction.None)
			{
				this.Action = other.Action;
			}
			if (other.LIJOCCOFCDL)
			{
				this.LIJOCCOFCDL = other.LIJOCCOFCDL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001640 RID: 5696 RVA: 0x0003F3E8 File Offset: 0x0003D5E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001641 RID: 5697 RVA: 0x0003F3F4 File Offset: 0x0003D5F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 88U)
				{
					if (num == 40U)
					{
						this.Action = (ChangeStoryLineAction)input.ReadEnum();
						continue;
					}
					if (num == 88U)
					{
						this.CurStoryLineId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 104U)
					{
						this.NBBLPKAOJAM = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.LIJOCCOFCDL = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400091F RID: 2335
		private static readonly MessageParser<ChangeStoryLineFinishScNotify> _parser = new MessageParser<ChangeStoryLineFinishScNotify>(() => new ChangeStoryLineFinishScNotify());

		// Token: 0x04000920 RID: 2336
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000921 RID: 2337
		public const int NBBLPKAOJAMFieldNumber = 13;

		// Token: 0x04000922 RID: 2338
		private uint nBBLPKAOJAM_;

		// Token: 0x04000923 RID: 2339
		public const int CurStoryLineIdFieldNumber = 11;

		// Token: 0x04000924 RID: 2340
		private uint curStoryLineId_;

		// Token: 0x04000925 RID: 2341
		public const int ActionFieldNumber = 5;

		// Token: 0x04000926 RID: 2342
		private ChangeStoryLineAction action_;

		// Token: 0x04000927 RID: 2343
		public const int LIJOCCOFCDLFieldNumber = 14;

		// Token: 0x04000928 RID: 2344
		private bool lIJOCCOFCDL_;
	}
}
